<?php

if ((isset($_GET['id'])) && ($_GET['id'] != "")) {
  $deleteSQL = sprintf("DELETE FROM textplug WHERE id=%s",
                       GetSQLValueString($_GET['id'], "int"));

  mysql_select_db($database_konek, $konek);
  $Result1 = mysql_query($deleteSQL, $konek) or die(mysql_error());

   ?>
	
	 <script language="javascript">
  	<!--
     	    alert('Delete Success')
			window.location = "home.php?page=pluginview&p=<?php echo $_GET['p'] ?>&root=add_module.php";
			
   	--></script>
	<?php
}

?>
